package factory.exam;

import factory.bookexam.Pizza;

public abstract class LogFactory {
	
	public Log actionLog(String type){
		Log log;
		log = wrtieLog(type);
		log.write();
		log.dbInsert();
		log.logPrint();
		
		return log;
	}
	
	protected abstract Log wrtieLog(String type);
}
